package io.renren.service;

import io.renren.common.entity.XlsLogThirdpayEntity;
import io.renren.common.service.CrudService;
import io.renren.dto.XlsLogThirdpayDTO;

import java.math.BigDecimal;
import java.util.List;

/**
 * 第三方支付记录表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-12
 */
public interface XlsLogThirdpayService extends CrudService<XlsLogThirdpayEntity, XlsLogThirdpayDTO> {

    List<XlsLogThirdpayEntity> selectLogThirdpayList(XlsLogThirdpayEntity logThirdpay);

    XlsLogThirdpayEntity initLogThirdpay(Long userId, String businessType, int payType, String ino, BigDecimal payMoney,
                                         String outTradeNo, String request, int payStatus, String remark);

    int insertThirdpay(XlsLogThirdpayEntity newLogThirdpay);
}